//导入Vue
import Vue from 'vue'
//导入Vuex
import Vuex from 'vuex'
//使用Vuex
Vue.use(Vuex)

//导入验证模块
import auth from './modules/auth'
import rbac from './modules/rbac'
import prod from './modules/prod'
//创建集中存储仓库
const store = new Vuex.Store({
  modules:{
    auth,
    rbac,
    prod
  }
})

//默认导出仓库
export default store;
